BACKLOG-845 Splitted entities js from message js and wrapped each block of javascript in it's own script tags
BACKLOG-845 Moved translations to correct location (message -> entities)
BACKLOG-845 Removed escaping and properly included variables in javascript HEREDOCS
BACKLOG-845 Fixed loading code on document ready by removing accidental split of code into separate blocks where it should be one
BACKLOG-845 Moved message related translations to correct place
BACKLOG-845 Added missing brace
BACKLOG-845 Joined both message related blocks of js