Refactoring
Fixed path js