Js bugfix

Collection of minor bugfixes. @shuangzhou / @scoen could you check that we don't actually use the bit in MDImageMetadataReader I commented out? I couldn't see any side affects from calling the methods and the results were unused.