Add Market Menu;

also changed JS function and click events