removing tests, and modularizing js folders