Clean up JS code a bit

Optimized the jQuery a bit. Also removed the delete column as it didnt let you do anything anyway