script re-organization and refactor jq directive
format jqGrid directive