added js

added a javascript file functions.js with alert onclick
added import of this file in main.scala.html