Added missing var keyword in frontend js
Added minified frontend js