workflows: restructuring of js files

* split hp_maintable.js to hp_tags.js, hp_selecton.js and hp_utilities.js
  - using the Module Pattern