Moved page JS to separate file
Cleaned up repo a bit, added todo