Create script.js

Created main JavaScript file with board file.