JS implementation

js coming up