Add js folder and bind menu to pages