Add js static file and modify layout.html