Fixed some bugs with the Sensors, added in comments. Added local copies of js files.