Add uglify and pathfinding optimization