html cleanup and resizable manager
fixed JSON format for sending as POST