updated views js