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

Status Job ID Name Coverage
  Build
failed #49855
build

 
  Deploy
skipped #49856
allowed to fail manual
deploy_production
 
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