happy with functionality, starting javascript