Javascript and PHP

Fixed the importing of the tidal forecasts, so that the data is
properly clipped around the table data. Added some JS to turn the
search bar green once an input has been selected.