remove unnecessary views/js