after much pain, just moved bitly to client side