Javascript now works

- Adding some metadata so that the javascript file knows the current bz_action
  and take actions appropriately (do a PUT to change the action to :done).