JavaScript misc stuffs I've made.