When I load my app into the series 40 local preview I get this error message SyntaxError: Parse error but no indication of what is causing the fault. My javascript is not throwing any errors and my app works perfectly expect for when I try to make a call to widget.preferences. widget is undefined. So something is causing the series 40 js sdk not to load properly.

I do not have a device to test on so I can't tell if this is a simulator issue or the way I setup my project possible.

Cheers
Rylan