js bug fixes and started to add tests to temporary start page