add Material.js

add Material.js, check the quality of the code with JSHint