Update package.js

Run template code in client only