tidying code - removed unneccesary deps, sterted cleaning client javascript