Added js files

(need to study crafting.js)