I am using bigpipe.js method to my website for displaying newsfeed.It is working fine in all the browsers except google chrome.In chrome its showing 'uncaught syntaxerror unexpected token = ' error.Please help me to rectify this error.
do it like that
function photoPopUp(aid,im_type,im_cat){
if (typeof(im_cat) === undefined) im_cat = 0
// your code here
}