Add emoticonsEnabled option and move style above JS in layout