Fixed 'Frame' error in JS