Update meta.js

Code clean-up and commenting.