Added very basic JS, without any modularity. Needs lots of improvization.