Add semi-colon before and after packed js

This prevent JavaScript error if files do not start and end with a delimiter. This doesn't apply to inline script.