removes useless console logs
adds javascript source