I got this error in firebug :
SyntaxError: missing ] after element list [object Object]
for the following javascript piece of code :
You can also try this , this also works
setTimeout(" $('#uploaded-holder').hide() ", i * 300 );
Add the first parameter within double quotes.