moved the client js to solely json sources