Sending application descriptor to jquery via hidden text field