Angular4 Integration with JS SDK