improve the parameter JSON creation function
introduce user-message as js function for error messages etc
use a macro for user-message with implicit concatenation
make sure jquery parses the action response as json
implement the final parts for editing bookmarks