fixing screenshot and recompiling js