cleaned up crowdsourcing gui code extracted to js files and so on