Moved JS to libs directory, first controller