Fixed bugs, added strict mode to javascript sources, improved lighting a bit.