Fixed diffs error
Updated JS