Added javascript & views