Add javascript files and views template