working on views js