added amplify scripts

Update chat library for client side