Only show edit gears in edit view. Plus bumper pack of js semicolons