the JS libs would probably help