Updated JS core and file reader