Some useful functions that make everyday js coding even more pleasant :-)