call the hook 'script_in_chat_room' after loading javascripts
move emoji completing code into emoji-plugin