Better package.js parsing.

Added a regular expression that should remove comments from the
retrieved package.js string. This should reduce errors during
auto-inclusion of new libraries.