Moved JS logic to sepereted files in js/ dir