Fix tray.js

If there is input with name == 'id', `el.getParent('form').id` returns this field instead of id of the form.
Merge pull request #12 from SlivTime/patch-4

Fix tray.js