added .js and fixed cursor