Moved golf lib javascript api to seperate project