Changed null for undefined when the list is empty
Added stack.js
Modified comment