Don't rely on fixed urls for filesystem

This is the beginning to supporting Firefox and IE10.