simplified get/post calls, removed need for index files for modules with client-side js, fixed HTTPS problems