Fixing JS syntax on launch bind