Polaris Web Application in Javascript