Client side to execute viper smartstart commands. JavaScript