inline some trivial JS helpers
inline some trivial JS helpers

Tarmil/websharper,Tarmil/websharper,intellifactory/websharper,Tarmil/websharper,intellifactory/websharper,intellifactory/websharper,Tarmil/websharper,intellifactory/websharper