Some tweaks and ongoing changes to the JS classes
Beginning of Slim implementation