Added and modified a bunch of things for better JS development.