Cleaned up commented out code in javascript file.
Just some minor refactorings.
Made Obstacle take in whether it should be destructable - introduces code smell.
Merge branch 'master' of https://github.com/PhilipJordan/SOLID.git