Cleaning up js of unnecessary comments. Finalizing docs.