Jquery Variable Inside String Javascript Functions And Events