Currently all the lines in the the main library are not terminated in semi-colon, thus making it's impossible to minify and pack the javascript using asset_packager.
I have a semi-colonized version of the script, but it has several modifications so I can't push it back - yet. Anyhow, I want to bring this issue up for future fix.