add javascript to beta-feature-branch