Added new JS configuration (work in progress)

Added the structure for JS configuration...still needs to be implemented