Server communication js function.
Basic css styles