Cleaned up and moved files around.  Now boardfunction.js is used on both solution (JS only and PHP/modx solution)