fix for broken js tiddler handling

fixed broken handling of javascript tiddlers.