Pusher.js: Fix TypeError when switching tabs + minor cleanup (Task #356)

pusherStart() was called to early, added a check to make sure the required attribute is there. This prevents TypeErrors popping up in the console when switching tabs.