Converted to JS and removed view files.