More JS base

Some more JS basics, started save/load system, basics of save manager