make tags in index.scala.html inline, fix ajax problem