Organizing code; removing local jQuery script