Fixed javascript type
added HTML compression to scalapage rendering