Make compatible with iOS. Factor out jQuery & Bootstrap.