Added new Javascript API
Removed old API file.
Updated API js file link.
Merge branch 'feature/new-api'