list update changes
remove callback from list update query, because event handler is used
return back to callbacks instead of event handlers
try insert into list first, otherwise update
try insert into waypoints first, otherwise update
use result.rows.length instead of rowsCount
add GPS time validity verification
specify port 8000 for WebSockets connection
code cleanup using JSLint
move JavaScript from HTML to separate files\nconnect to database before executing queries
move JavaScript from HTML to separate files
remove temporary files
handle db connection errors everywere