Updated pubnub to 3.6.3 and added npm for bootstrap-switch