added presetting of bracket positions at 'Home', cleaned up custom.js