Add JavaScript mode - basic config