JavaScript library engine constructor kitchen