fixed javascript imports, added mouse leave functionality