More basic implementation

Added a little JS