Jquery Mobile App Session Cookies HttpOnly

Jquery Mobile App Session Cookies HttpOnly

Hi ,

I have developed mobile web app ,i am using session.js for managing the session of the whole mobile app.
i want to make sure the security for the session cookies ,

using HttpOnly true and Secure : true 
i am not able to set those flags ,could anyone please help me out for that