I have sublime 2/3 and the colorize inside a :javascript block doesn't work fine.
The package is this https://sublime.wbond.net/packages/Haml
Actually they says that: "Text inside Ruby, ERB, Javascript, Sass, and CSS filters are now properly recognized so you get all the syntax highlighting, snippets, commands, etc." but in sublime it doesn't work.