Fixed #179.
Merge pull request #180 from frmwrk123/fix/customMenuJS

Fixed #179.