Added handlebar template and js code