save preview json with .js ext