Considerations for using JavaScript libraries