Fix bugs related to form views and paths to css/js