Fixing require dependencies, jquery-ui bug