Minor fix using jshint. Compile the code It fixes icat/doi-landing-page#77

Status Name Job ID Coverage
  Build
failed build #49855

 
  Deploy
skipped deploy_production #49856
allowed to fail manual
 
Name Stage Failure
failed
build Build There has been a timeout failure or the job got stuck. Check your timeout limits or try again
No job log