Fixes frontend to match backend with options. Also fixes jquery path in main view