Adding rgba fallbacks for older browsers
Code tidy and additional comments added