Various fixes in the js for multi-backend

These 2 lines are really required? Even with the ```live``` functionality within the main application file?