Frequently used JavaScript code collection