Update themes/default/resources/js/main.js

Add placeholder fallback using Modernizr