Added captainup javascript API integration for demo