Adds a test to elements initializaion, applies jslint, updates the README
Changes selector variable to elements