Removed unused build dependency
Fixed wrong variable in JS source