guard helper for sprockets javascript packaging library